Name
Age
Email address
form { width: 400px; } li { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
<form> <ul> <li> Name <input type="text" name="name"> </li> <li> Age <input type="number" name="age"> </li> <li> Email address <input type="email" name="email"> </li> </ul> </form>